home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6060 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!marnold
  3. From: marnold@netcom.com (Matt Arnold)
  4. Subject: Re: converting strings to ints??
  5. Message-ID: <marnoldDMLyuM.9Io@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. References: <4fk223$s6k@newsbf02.news.aol.com>
  8. Date: Sun, 11 Feb 1996 11:06:21 GMT
  9. Sender: marnold@netcom4.netcom.com
  10.  
  11. possum4456@aol.com (Possum4456) writes:
  12.  
  13. >Is there a function, I heard it was in stdio.h, that converts a string of
  14. >numbers to integers so they can be added or whatever?:-)
  15.  
  16.     atoi()   // name comes from "ANSI to integer"
  17.  
  18.  
  19. Don't you have any documentation with your compiler or at least a good 
  20. "C" book?  This is basic stuff.  This wasn't even a C++ question.  Try 
  21. comp.lang.c next time.
  22.  
  23. -------------------------------------------------------------------------
  24. Matt Arnold                       |        | ||| | |||| |  | | || ||
  25. marnold@netcom.com                |        | ||| | |||| |  | | || ||
  26. Boston, MA                        |      0 | ||| | |||| |  | | || ||
  27. 617.389.7384 (h) 617.576.2760 (w) |        | ||| | |||| |  | | || ||
  28. C++, MIDI, Win32/95 developer     |        | ||| 4 3 1   0 8 3 || ||
  29. -------------------------------------------------------------------------
  30.